package com.dana.job.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.core.domain.BaseEntity;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@TableName("tb_exam")
@EqualsAndHashCode(callSuper = true)
public class Exam extends BaseEntity {
    /**
     * 竞赛id
     */
    @TableId(value = "exam_id", type = IdType.ASSIGN_ID)
    private Long examId;

    /**
     * 标题
     */
    private String title;

    /**
     * 开始时间
     */
    private LocalDateTime startTime;


    /**
     * 结束时间
     */
    private LocalDateTime endTime;

    /**
     * 是否发布 0-未发布 1-发布
     */
    private Integer status;
}
